package com.example.myapplication;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import com.tencent.smtt.sdk.WebView;

public class X5WebviewActivity extends AppCompatActivity {

    private WebView webView;
    private String url = "https://www.baidu.com";
//    private String url = "https://kefu.easemob.com/webim/im.html?configId=982d8f2d-06db-49ab-9e14-673c151172b6";
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_x5_webview);
        webView = findViewById(R.id.forum_context);
        webView.loadUrl(url);
    }
}